% by ylx
% auto plot figures from 10 to 15
addpath functions
global I J LAMBDA P
I = 8;
J = 3;
LAMBDA = 3;
P = [.25, .5, .75];
genPIE(48);
genPoisson(48);
global s_time
s_time = ftimer(); 

jall = randi([1,3], 2, 48); %randi(a,b,c) b refers to number of sequences generated

[ptg_e, prp_e, cst_e] = figure1x_even(jall);

[ptg_o, prp_o, cst_o] = figure1x_odd(jall);
